<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no,
    maximum-scale-1.0,minimum-scale=1.0">
    <title>移动头条</title>
</head>

<body>
    文章
</body>
<script src="./js/zepto.js"></script>
<script>
    Zepto(function() {
        let nid = localStorage.getItem("nid")
        $.ajax({
            type: "post",
            data: {
                nid: nid
            },
            dataType: "json",
            url: `http://tt.linweiqin.com/api/tt/getArticleById`,
            success(data, status, xhr) {
                console.log(data);
            }
        })
    })
</script>

</html>